
import React           			from 'react';
import { Link } 				from 'react-router-dom';
import {inject, observer }      from 'mobx-react'
import PropTypes 				from "prop-types";

// table组件
import TableList 				from 'component/table-list/index.jsx';
import Search 				    from 'component/search/index.jsx';
import Pagination 				from 'component/pagination/index.jsx';

import Top						from 'page/top/index.jsx';
import Todo						from 'page/todo/index.jsx';

import './index.css';

@inject('store')
@observer
class Home extends React.Component{
	// 构造函数
	constructor(props){
		super(props);
	}
	render(){
		const style = {textAlign:'center'};
		return(
				<div>
					<Top/>
					<div className="page-wrapper">
						<Todo />
						<div style={style}>
							<Pagination pageSize={3} />
						</div>
					</div>
				</div>

		);
	}
}

export default Home;
